#pragma once
/********************************************************************
//	Created:	2013/3/20   09:17
//	Filename: 	NetEngine_SourceCode/NetEngine_Lib/NetEngine_PublicOperator/NetOperator_Error.h
//	File Path:	NetEngine_SourceCode/NetEngine_Lib/NetEngine_PublicOperator/
//	File Base:	NetOperator_Error.h
//	File Ext:	h
//  Project:    网络中心
//	Author:		dowflyon
//	Purpose:    导出的错误码
//	History:
*********************************************************************/
//////////////////////////////////////////////////////////////////////////
//                         事件操作导出错误
//////////////////////////////////////////////////////////////////////////
#define ERROR_LIB_BASELIB_OPERATOREVENT_CREATE_MALLOC 0x80B0000             //申请内存失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_CREATE_INITEVENT 0x80B0001          //初始化事件管理器失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_CREATE_INITMUTEX 0x80B0002          //初始化临界区失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_DELETE_PARAMENT 0x80B0010           //删除失败，参数错误
#define ERROR_LIB_BASELIB_OPERATOREVENT_DELETE_EVENT 0x80B0011              //删除事件失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_DELETE_MUTEX 0x80B0012              //删除临界区失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_WAIT_PARAMENT 0x80B0020             //参数错误
#define ERROR_LIB_BASELIB_OPERATOREVENT_WAIT_EVENT 0x80B0021                //等待事件失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_WAIT_MUTEX 0x80B0022                //等待临界区失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_WAIT_TIMEDOUT 0x80B0023             //等到超时
#define ERROR_LIB_BASELIB_OPERATOREVENT_ACTIVE_PARAMENT 0x80B0030           //参数错误
#define ERROR_LIB_BASELIB_OPERATOREVENT_ACTIVE_EVENT 0x80B0031              //激活事件失败
#define ERROR_LIB_BASELIB_OPERATOREVENT_RESET_PARAMENT 0x80B0040            //重置失败,参数错误
#define ERROR_LIB_BASELIB_OPERATOREVENT_RESET_FAILED 0x80B0041              //重置失败,内部错误
//////////////////////////////////////////////////////////////////////////
//                         句柄操作导出错误
//////////////////////////////////////////////////////////////////////////
#define ERROR_LIB_BASELIB_OPERATORHANDLE_ADD_PARAMENT 0x80B1001              //参数错误，无法继续
#define ERROR_LIB_BASELIB_OPERATORHANDLE_ADD_ISEXIST 0x80B1002               //句柄存在,无法继续
#define ERROR_LIB_BASELIB_OPERATORHANDLE_ADD_MALLOC 0x80B1003                //申请内存失败
#define ERROR_LIB_BASELIB_OPERATORHANDLE_SET_NOTFOUND 0x80B1011              //没有找到，设置失败
#define ERROR_LIB_BASELIB_OPERATORHANDLE_GET_NOTFOUND 0x80B1020              //没有找到，获取失败
#define ERROR_LIB_BASELIB_OPERATORHANDLE_CREATE_PARAMENT 0x80B1030           //参数错误,生成失败
//////////////////////////////////////////////////////////////////////////
//                         字符串操作导出错误
//////////////////////////////////////////////////////////////////////////
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ADDRSTRUCT_PARAMENT 0x80B2000     //参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ADDRSTRUCT_NOTADDR 0x80B2001      //不是标准的IPV4地址
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ADDRSTRUCT_NOTRANGE 0x80B2002     //地址返回不正确
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ATU_PARAMENT 0x80B2010            //参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ATU_GETMEMORYSIZE 0x80B2011       //获取字符串空间所需大小失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ATU_LEN 0x80B2012                 //转换失败,提供的大小不够
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ATU_ISFAILED 0x80B2012            //转换失败,无法继续
#define ERROR_LIB_BASELIB_OPERTATORSTRING_UTA_PARAMENT 0x80B2020            //参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_UTA_GETMEMORYSIZE 0x80B2021       //获取字符串空间所需大小失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_UTA_LEN 0x80B2021                 //转换失败,提供的大小不够
#define ERROR_LIB_BASELIB_OPERTATORSTRING_UTA_ISFAILED 0x80B2022            //转换失败,无法继续
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHARCONVER_OPEN 0x80B2030         //打开转换器失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHARCONVER_MALLOC 0x80B2031       //申请内存失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHARCONVER_ISFAILED 0x80B2032     //转换失败，内部错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHARCONVER_NOTSUPPORT 0x80B2033   //不支持的转换参数
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITENETADD_PARAMENT 0x80B2040   //分割失败，参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITENETADD_NOTFOUND 0x80B2041   //不是XENGINE标准
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ISIPADDR_PARAMENT 0x80B2051       //参数错误，判断失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_ISIPADDR_NOTIPADDR 0x80B2052      //不是IP地址格式
#define ERROR_LIB_BASELIB_OPERTATORSTRING_DELSUB_PARAMENT 0x80B2060         //删除字符串失败，参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_DELSUB_MALLOC 0x80B2061           //申请内存失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_DELSUB_NOTFOUND 0x80B2062         //没有找到需要删除的字符串
#define ERROR_LIB_BASELIB_OPERTATORSTRING_DELLASTFORCH_PARAMENT 0x80B2070   //参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_DELLASTFORCH_NOTFOUND 0x80B2071   //没有找到指定字符
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHANGE_PARAMENT 0x80B2080         //修改字符串函数错误，参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHANGE_START 0x80B2081            //查找开始位置失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_CHANGE_END 0x80B2082              //查找结束位置失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_FIXPATH_PARAMENT 0x80B2090        //修复失败,参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_FIXPATH_TYPE 0x80B2091            //输入的路径有问题,无法处理
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETLASTSTR_PARAMENT 0x80B20A0     //参数错误，无法继续
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETLASTSTR_LEN 0x80B20A1          //长度不正确，无法继续
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETSE_PARAMENT 0x80B20A2          //参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETSE_FOUNDSTART 0x80B20A3        //查找开始字符串失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETSE_FOUNDEND 0x80B20A4          //查找结束字符串失败
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETPF_PARAMENT 0x80B20C0          //参数错误，无法继续
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETPF_NOTFOUD 0x80B20C1           //没有找到路径分隔符，无法继续
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITPATH_PARAMENT 0x80B20D0      //分割路径失败,参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITPATH_NOTPATH 0x80B20D1       //不是路径字符串
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITPATH_NOTFILE 0x80B20D2       //没有文件
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITPATH_NOTFILENAME 0x80B20D3   //没有文件名称
#define ERROR_LIB_BASELIB_OPERTATORSTRING_SQLITPATH_NOTEXT 0x80B20D4        //没有扩展名
#define ERROR_LIB_BASELIB_OPERTATORSTRING_FROMSTRGET_PARAMENT 0x80B20E0     //分割key value失败,参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_FROMSTRGET_NOTFOUND 0x80B20E1     //没有找到
#define ERROR_LIB_BASELIB_OPERTATORSTRING_FROMCHARGET_PARAMENT 0x80B20F0    //获取char失败,参数错误
#define ERROR_LIB_BASELIB_OPERTATORSTRING_FROMCHARGET_NOTFOUND 0x80B20F1    //没有找到
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETENDCH_PARAMENT 0x80B2101       //参数错误,无法分割
#define ERROR_LIB_BASELIB_OPERTATORSTRING_GETENDCH_NOTFOUND 0x80B2120       //没有找到
#define ERROR_LIB_BASELIB_OPERTATORSTRING_STRTOHEX_PARAMENT 0x80B2130       //字符串转16进制
#define ERROR_LIB_BASELIB_OPERTATORSTRING_HEXTOSTR_PARAMENT 0x80B2140       //16进制转字符串
//////////////////////////////////////////////////////////////////////////
//                       时间类错误表
//////////////////////////////////////////////////////////////////////////
#define ERROR_LIB_BASELIB_OPERATORTIMER_GETSYSTEM_PARAMENT 0x80B3000        //获取系统时间失败，参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMER_GETSYSTEM_LOCAL 0x80B3001           //获取本地时间失败
#define ERROR_LIB_BASELIB_OPERATORTIMER_FORMATSQL_PARAMENT 0x80B3010        //格式化时间失败，参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMER_TTIMETOSTRING_PARAMENT 0x80B3020    //转换失败，参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMER_TTIMETOSTRING_LOCAL 0x80B3021       //获取本地时间失败
#define ERROR_LIB_BASELIB_OPERATORTIMER_DIFFERENCE_PARAMENT 0x80B3030       //参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMER_DIFFERENCE_GETSTART 0x80B3031       //获取启动时间失败
#define ERROR_LIB_BASELIB_OPERATORTIMER_DIFFERENCE_GETEND 0x80B3032         //获取结束时间失败
#define ERROR_LIB_BASELIB_OPERATORTIMER_DIFFERENCE_NOTFOUND 0x80B3033       //没有找到指定句柄
#define ERROR_LIB_BASELIB_OPERATORTIMER_GETTIMEOFDAY_PARAMENT 0x80B3040     //获取失败，参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMER_STRTOSTUTIME_PARAMENT 0x80B3050     //参数错误转换失败
#define ERROR_LIB_BASELIB_OPERATORTIMER_STRTOSTUTIME_NOTIME 0x80B3051       //不是标准时间格式,无法转换
#define ERROR_LIB_BASELIB_OPERATORTIMESPAN_GETSTU_PARAMENT 0x80B3100      //获取时间差失败,参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMESPAN_GETSTR_PARAMENT 0x80B3110      //获取时间差失败
#define ERROR_LIB_BASELIB_OPERATORTIMESPAN_CALSTU_PARAMENT 0x80B3120      //参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMESPAN_CALSTR_PARAMENT 0x80B3130      //参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMESPAN_GETGMT_PARAMENT 0x80B3140      //参数错误
#define ERROR_LIB_BASELIB_OPERATORTIMESPAN_GETGMT_CVT 0x80B3141           //转换失败
//////////////////////////////////////////////////////////////////////////
//                       位操作
//////////////////////////////////////////////////////////////////////////
#define ERROR_LIB_BASELIB_OPERATORBIT_BYTE_WRITE_PARAMENT 0x80B4000         //写字节错误，参数错误
#define ERROR_LIB_BASELIB_OPERATORBIT_BYTE_READ_PARAMENT 0x80B4010          //读取字节错误，参数错误
//////////////////////////////////////////////////////////////////////////
//                       文件字符串导出错误
//////////////////////////////////////////////////////////////////////////
#define ERROR_LIB_BASELIB_OPERTATORFILE_READPROFILE_PARAMENT 0x80B5010
#define ERROR_LIB_BASELIB_OPERTATORFILE_READPROFILE_OPENFILE 0x80B5011
#define ERROR_LIB_BASELIB_OPERTATORFILE_READPROFILE_NOTFOUND 0x80B5012
#define ERROR_LIB_BASELIB_OPERTATORFILE_WRITEPROFILE_PARAMENT 0x80B5020
#define ERROR_LIB_BASELIB_OPERTATORFILE_WRITEPROFILE_OPENFILE 0x80B5021
#define ERROR_LIB_BASELIB_OPERTATORFILE_WRITEPROFILE_CHANGEFILE 0x80B5022
#define ERROR_LIB_BASELIB_OPERTATORFILE_GETSTRINGFORCHAR_PARAMENT 0x80B5030
#define ERROR_LIB_BASELIB_OPERTATORFILE_GETSTRINGFORCHAR_BEGIN 0x80B5031
#define ERROR_LIB_BASELIB_OPERTATORFILE_GETSTRINGFORCHAR_END 0x80B5032
#define ERROR_LIB_BASELIB_OPERTATORFILE_COPYFILE_PARAMENT 0x80B5040
#define ERROR_LIB_BASELIB_OPERTATORFILE_COPYFILE_EXIST 0x80B5041
#define ERROR_LIB_BASELIB_OPERTATORFILE_COPYFILE_OPENFILE 0x80B5042
